package com.alex.seo.service.site;

import java.util.Set;

import com.alex.seo.service.exception.ObjectExistsException;
import com.alex.seo.service.site.dto.SiteDTO;

public interface SiteService {
	public int createSite(SiteDTO site);
	
	public int createGroup(String name) throws ObjectExistsException;
	public int createGroup(String name, Set<Integer> siteIDs) throws ObjectExistsException;
	
	public void addSitesToGroup(Set<Integer> siteIDs, int groupId) throws ObjectExistsException;
	public void addSitesToGroup(Set<Integer> siteIDs, String groupName) throws ObjectExistsException;
	
	public Set<Integer> getSitesOfGroup(int groupId);
	public Set<Integer> getSitesOfGroup(String groupName);
}
